package jsyf.oa.web.task;

import jsyf.oa.facade.email.EmailFacade;
import jsyf.oa.facade.wreport.WReportUnfinishFacade;
import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Component;

import javax.annotation.Resource;

/**
 * @version V1.0.0
 * @projectName: oa-java
 * @title: Notice
 * @package jsyf.oa.web.task
 * @author: wangmin
 */
@Component
public class Notice {
    @Resource
    private WReportUnfinishFacade wReportUnfinishFacade;
    /**
     * 每天上午8:30 提醒当天要完成的未关闭事项
     */
    @Scheduled(cron = "0 18 9 * * ?")
    public void NormalRemindFront() {
        wReportUnfinishFacade.getUnfinishPersonList();
    }
}
